﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entity.System_Ordermanagement
{
    public class Order_client
    {
        public int? Ord_id { get; set; }   //订单id
        public string? Ord_number { get; set; }   //订单单号
        public string? Ord_startaddress { get; set; }  //始发地
        public string? Ord_destination { get; set; }   //目的地
        public string? Client_name { get; set; }   //客户名称
        public int? Ord_state { get; set; }   //订单状态（0:待调度/待接单  1:已调度/已接单）
        public string? Shipments_Contactname { get; set; }   //发货联系人姓名
        public string? Shipments_ContactPhone { get; set; }   //发货联系人电话
        public string? Shipments_addres { get; set; }   //发货地址
        public string? Receiving_Contactname { get; set; }   //收货联系人姓名
        public string? Receiving_ContactPhone { get; set; }   //收货联系人电话
        public string? Receiving_addres { get; set; }   //收货地址
        public DateTime? Shipping_time { get; set; }   //预计发货时间
        public DateTime? Receiving_time { get; set; }   //预计收货时间
        public string? Ord_type { get; set; }   //订单类型
        public string? Ord_source { get; set; }   //订单来源
        public string? Ord_remark { get; set; }   //订单备注
        public DateTime? Ord_time { get; set; }   //下单时间
        public DateTime? Create_time { get; set; }   //创建时间
        public string? Create_by { get; set; }   //创建人
        public DateTime? LastUpdate_time { get; set; }   //最后更新时间
        public string? LastUpdate_by { get; set; }   //最后更新人
        public int? Del_flag { get; set; }   //删除标志
        public int? Tran_type { get; set; }   //运输类型
        public int? Count { get; set; }   //总数量
        public float? Totalvolume { get; set; }   //总体积
        public string? Cg_name { get; set; }   //货物名称
        public int? Bill_method { get; set; }   //计费方式
        public float? Weight { get; set; }   //总重量
        public decimal? Freight_costs { get; set; }   //运费成本
        public decimal? Packag_fee { get; set; }   //包装费
        public decimal? Handling_fee { get; set; }   //装卸费
        public decimal? Other_fee { get; set; }   //其他费用
        public decimal? Freight_count { get; set; }   //运费合计
        public decimal? Pay_as_you_go { get; set; }   //现付
        public decimal? Prepayment { get; set; }   //预付
        public decimal? Collect { get; set; }   //到付
        public decimal? Periodical_payment { get; set; }   //周期付
        public decimal? Pay_count { get; set; }   //付费合计
        public string? Carrier_name { get; set; }   //承运商名称
        public string? Carrier_contact_name { get; set; }   //承运商联系人名称
        public string? Carrier_phone { get; set; }   //承运商联系人手机号
        public string? Driver_name { get; set; }   //司机姓名
        public string? Driver_phone { get; set; }   //司机手机号
        public int? Car_type { get; set; }   //车型
        public int? Car_long { get; set; }   //车长
        public string? Car_number { get; set; }   //车牌号
        public int? Receivables_state { get; set; }   //应收单-结算状态
        public int? Audit_status { get; set; }   //审核状态（0：待审核 1：已审核）
        public int? Cg_type { get; set; }   //货物类型
        public int? Dis_mode { get; set; }   //配送方式
        public DateTime? Take_orders_time { get; set; }
        /// <summary>
        /// 客户ID
        /// </summary>
        public int? Ct_id { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public string? Ct_numbering { get; set; }

        /// <summary>
        /// 所属行业
        /// </summary>
        public string? Ct_cl_name { get; set; }

        /// <summary>
        /// 客户级别
        /// </summary>
        public string? Ct_lndustry { get; set; }

        /// <summary>
        /// 客户标签
        /// </summary>
        public int? Ct_level { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public int? Ct_label { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public string? Ct_region { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string? Ct_address { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        public string? Ct_postcode { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string? Ct_information { get; set; }

        /// <summary>
        /// 客户状态
        /// </summary>
        public int? Ct_state { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? Ct_name { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? Ct_phone { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string? Ct_department { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string? Ct_posts { get; set; }

        /// <summary>
        /// E_mail邮箱
        /// </summary>
        public string? Ct_email { get; set; }

        /// <summary>
        /// QQ账号
        /// </summary>
        public string? Ct_qq { get; set; }

        /// <summary>
        /// 发票抬头
        /// </summary>
        public string? Ct_io_title { get; set; }

        /// <summary>
        /// 纳税人识别号
        /// </summary>
        public string? Ct_tp_identification { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
        public string? Ct_bank { get; set; }

        /// <summary>
        /// 开户名称
        /// </summary>
        public string? Ct_ao_name { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        public string? Ct_account { get; set; }

        public int? Vc_model { get; set; }   //车型
        public int? Vc_length { get; set; }   //车长
    }
}
